﻿namespace Common
{
    /// <summary>
    /// 实体
    /// </summary>
    /// <typeparam name="TKey"></typeparam>
    public interface IEntity<out TKey>
    {
        /// <summary>
        /// 获取 实体唯一标识，主键
        /// </summary>
        TKey Id { get; }
    }

    /// <summary>
    /// 定义输入DTO
    /// </summary> 
    public interface IInputDto
    { 
    }


    /// <summary>
    /// 定义输出DTO
    /// </summary>
    public interface IOutputDto
    { }
}
